{% include "header.html" %}
<div id="wrapper">
	<div id="simple-content-wrapper">
		<div id="content">
		<p>
				<a href="/accounts/{{ object.id }}/">修改用户[{{ object.user }}]信息</a>&nbsp;|&nbsp;
				<a href="#" onclick="javascript:window.open('/users/{{ object.user_id }}/chgpass/', '_blank', 'width=420,height=250,menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=no')">修改用户密码</a>
		</p>
		{% load ad_tags %}
		{% flash %}
		 <h2>{{ params.type }}</h2>
		{{ msg }}
		{% endflash %}
			<ul>
			<li>该用户由&nbsp;{{ object.creator|default_if_none:"系统自动" }}&nbsp;创建</li>
			<li>该用户由&nbsp;{{ object.last_modify_by }}&nbsp;进行最近一次的修改, 时间为:{{ object.last_modify_datetime|date:"Y年 m月d日 H:i:s" }}</li>
			</ul>
		<form method="post" action="">
		
		<table cellspacing="0" border="0">
		<caption>用户属性: [&nbsp;{{ object.user }}&nbsp;] 
		</caption>
		{{ userform.as_table }}
		{{ userprofileform.as_table }}
		<input name="Submit" type="submit" value="修改用户属性" />
		</table>
		</form>
		</div>
	</div>
<!-- 	<div id="sidebar-wrapper">
		
			<div id="sidebar">
			<ul>
			<li>
				<a href="/accounts/{{ object.id }}/">修改用户[{{ object.user }}]信息</a>
			</li>
			<li>
				<a href="#" onclick="javascript:window.open('/users/{{ object.user_id }}/chgpass/', '_blank', 'width=420,height=250,menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=no')">修改用户密码</a>
			</li>
			</ul>
			</div>
		
	</div> -->
</div>
{% include "footer.html" %}
